package com.yunxi.order.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 *批售单明细查询响应
 */
@Data
@ApiModel(value="批售单明细查询响应", description="批售单明细查询响应")
public class OrderOemDetailsAlreadySubmitRespVO implements Serializable {
    @ApiModelProperty(value = "车型名称")
    private String modelName;
    @ApiModelProperty(value = "车系名称")
    private String seriesName;
    @ApiModelProperty(value = "配置")
    private String catalogName;
    @ApiModelProperty(value = "内饰颜色")
    private String colorNameIn;
    @ApiModelProperty(value = "外饰颜色")
    private String colorNameOut;
    @ApiModelProperty(value = "数量")
    private String num;
    @ApiModelProperty(value = "收货人")
    private String linkman;
    @ApiModelProperty(value = "联系方式")
    private String linkphone;
    @ApiModelProperty(value = "收货地址Code")
    private String storageCode;
    @ApiModelProperty(value = "付款方式")
    private String payway;
    @ApiModelProperty(value = "返利")
    private Integer isRebate;
    @ApiModelProperty(value = "自提")
    private String isPickup;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonDeserialize(using=DateJsonDeserializer.class)
    @ApiModelProperty(value = "收货时间")
    private Date takeoverTime;
    @ApiModelProperty(value = "审核状态")
    private String checkStatus;
    @ApiModelProperty(value = "订货单号")
    private String orderCarId;
    @ApiModelProperty("选装包代码")
    private String customPackCodes;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonDeserialize(using=DateJsonDeserializer.class)
    @ApiModelProperty("发运日期")
    private Date dispatchDate;
    @ApiModelProperty(value = "收货地址")
    private String addr;
}
